<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
    <title>Reference</title>
    <link rel="stylesheet" href="../../luadoc.css" type="text/css" />
	<!--meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/-->
</head>

<body>
<div id="container">

<div id="product">
	<div id="product_logo"></div>
	<div id="product_name"><big><b></b></big></div>
	<div id="product_description"></div>
</div> <!-- id="product" -->

<div id="main">

<div id="navigation">


<h1>LuaDoc</h1>
<ul>
	
	<li><a href="../../index.html">Index</a></li>
	
</ul>


<!-- Module list -->



<!-- File list -->

<h1>Files</h1>
<ul>

	<li>
		<a href="../../files/Compiler.html">Compiler.lua</a>
	</li>

	<li>
		<a href="../../files/Editor.html">Editor.lua</a>
	</li>

	<li>
		<a href="../../files/Instance.html">Instance.lua</a>
	</li>

	<li>
		<a href="../../files/Libraries.html">Libraries.lua</a>
	</li>

	<li>
		<a href="../../files/Permissions.html">Permissions.lua</a>
	</li>

	<li>
		<a href="../../files/Preprocessor.html">Preprocessor.lua</a>
	</li>

	<li>
		<a href="../../files/SFLib.html">SFLib.lua</a>
	</li>

	<li>
		<a href="../../files/libs_cl/ents.html">libs_cl/ents.lua</a>
	</li>

	<li>
		<a href="../../files/libs_cl/screen.html">libs_cl/screen.lua</a>
	</li>

	<li><strong>libs_sh/builtins.lua</strong></li>
	
	<li>
		<a href="../../files/libs_sh/files.html">libs_sh/files.lua</a>
	</li>

	<li>
		<a href="../../files/libs_sh/find.html">libs_sh/find.lua</a>
	</li>

	<li>
		<a href="../../files/libs_sh/time.html">libs_sh/time.lua</a>
	</li>

	<li>
		<a href="../../files/libs_sh/trace.html">libs_sh/trace.lua</a>
	</li>

	<li>
		<a href="../../files/libs_sv/ents.html">libs_sv/ents.lua</a>
	</li>

	<li>
		<a href="../../files/libs_sv/wire.html">libs_sv/wire.lua</a>
	</li>

	<li>
		<a href="../../files/reload.html">reload.lua</a>
	</li>

</ul>






</div> <!-- id="navigation" -->

<div id="content">

<h1>File <code>libs_sh/builtins.lua</code></h1>







<h2>Functions</h2>
<table class="function_list">

	<tr>
	<td class="name" nowrap><a href="#SF.DefaultEnvironment.Angle">SF.DefaultEnvironment.Angle</a>&nbsp;(p, y, r)</td>
	<td class="summary">Same as the Gmod angle type </td>
	</tr>

	<tr>
	<td class="name" nowrap><a href="#SF.DefaultEnvironment.VMatrix">SF.DefaultEnvironment.VMatrix</a>&nbsp;()</td>
	<td class="summary">Same as the Gmod VMatrix type </td>
	</tr>

	<tr>
	<td class="name" nowrap><a href="#SF.DefaultEnvironment.Vector">SF.DefaultEnvironment.Vector</a>&nbsp;(x, y, z)</td>
	<td class="summary">Same as the Gmod vector type </td>
	</tr>

	<tr>
	<td class="name" nowrap><a href="#SF.DefaultEnvironment.assert">SF.DefaultEnvironment.assert</a>&nbsp;(condition, msg)</td>
	<td class="summary">Same as Lua's assert </td>
	</tr>

	<tr>
	<td class="name" nowrap><a href="#SF.DefaultEnvironment.error">SF.DefaultEnvironment.error</a>&nbsp;(msg)</td>
	<td class="summary">Throws an error.</td>
	</tr>

	<tr>
	<td class="name" nowrap><a href="#SF.DefaultEnvironment.getmetatable">SF.DefaultEnvironment.getmetatable</a>&nbsp;(tbl)</td>
	<td class="summary">Same as Lua's getmetatable.</td>
	</tr>

	<tr>
	<td class="name" nowrap><a href="#SF.DefaultEnvironment.ipairs">SF.DefaultEnvironment.ipairs</a>&nbsp;(tbl)</td>
	<td class="summary">Same as Lua's ipairs </td>
	</tr>

	<tr>
	<td class="name" nowrap><a href="#SF.DefaultEnvironment.loadLibrary">SF.DefaultEnvironment.loadLibrary</a>&nbsp;(name)</td>
	<td class="summary">Loads a library.</td>
	</tr>

	<tr>
	<td class="name" nowrap><a href="#SF.DefaultEnvironment.next">SF.DefaultEnvironment.next</a>&nbsp;(tbl)</td>
	<td class="summary">Same as Lua's next </td>
	</tr>

	<tr>
	<td class="name" nowrap><a href="#SF.DefaultEnvironment.pairs">SF.DefaultEnvironment.pairs</a>&nbsp;(tbl)</td>
	<td class="summary">Same as Lua's pairs </td>
	</tr>

	<tr>
	<td class="name" nowrap><a href="#SF.DefaultEnvironment.print">SF.DefaultEnvironment.print</a>&nbsp;(s)</td>
	<td class="summary">Prints a message to the owner's chat.</td>
	</tr>

	<tr>
	<td class="name" nowrap><a href="#SF.DefaultEnvironment.setHook">SF.DefaultEnvironment.setHook</a>&nbsp;(name, func)</td>
	<td class="summary">Sets a hook function </td>
	</tr>

	<tr>
	<td class="name" nowrap><a href="#SF.DefaultEnvironment.setmetatable">SF.DefaultEnvironment.setmetatable</a>&nbsp;(tbl, meta)</td>
	<td class="summary">Same as Lua's setmetatable.</td>
	</tr>

	<tr>
	<td class="name" nowrap><a href="#SF.DefaultEnvironment.tonumber">SF.DefaultEnvironment.tonumber</a>&nbsp;(obj)</td>
	<td class="summary">Same as Lua's tonumber </td>
	</tr>

	<tr>
	<td class="name" nowrap><a href="#SF.DefaultEnvironment.tostring">SF.DefaultEnvironment.tostring</a>&nbsp;(obj)</td>
	<td class="summary">Same as Lua's tostring </td>
	</tr>

	<tr>
	<td class="name" nowrap><a href="#SF.DefaultEnvironment.type">SF.DefaultEnvironment.type</a>&nbsp;(obj)</td>
	<td class="summary">Same as Lua's type </td>
	</tr>

</table>






<br/>
<br/>




<h2><a name="functions"></a>Functions</h2>
<dl class="function">



<dt><a name="SF.DefaultEnvironment.Angle"></a><strong>SF.DefaultEnvironment.Angle</strong>&nbsp;(p, y, r)</dt>
<dd>
Same as the Gmod angle type


<h3>Parameters:</h3>
<ul>
	
	<li>
	  <code><em>p</em></code>: Pitch
	</li>
	
	<li>
	  <code><em>y</em></code>: Yaw
	</li>
	
	<li>
	  <code><em>r</em></code>: Roll
	</li>
	
</ul>








</dd>




<dt><a name="SF.DefaultEnvironment.VMatrix"></a><strong>SF.DefaultEnvironment.VMatrix</strong>&nbsp;()</dt>
<dd>
Same as the Gmod VMatrix type









</dd>




<dt><a name="SF.DefaultEnvironment.Vector"></a><strong>SF.DefaultEnvironment.Vector</strong>&nbsp;(x, y, z)</dt>
<dd>
Same as the Gmod vector type


<h3>Parameters:</h3>
<ul>
	
	<li>
	  <code><em>x</em></code>: 
	</li>
	
	<li>
	  <code><em>y</em></code>: 
	</li>
	
	<li>
	  <code><em>z</em></code>: 
	</li>
	
</ul>








</dd>




<dt><a name="SF.DefaultEnvironment.assert"></a><strong>SF.DefaultEnvironment.assert</strong>&nbsp;(condition, msg)</dt>
<dd>
Same as Lua's assert


<h3>Parameters:</h3>
<ul>
	
	<li>
	  <code><em>condition</em></code>: 
	</li>
	
	<li>
	  <code><em>msg</em></code>: 
	</li>
	
</ul>








</dd>




<dt><a name="SF.DefaultEnvironment.error"></a><strong>SF.DefaultEnvironment.error</strong>&nbsp;(msg)</dt>
<dd>
Throws an error. Can't change the level yet.


<h3>Parameters:</h3>
<ul>
	
	<li>
	  <code><em>msg</em></code>: 
	</li>
	
</ul>








</dd>




<dt><a name="SF.DefaultEnvironment.getmetatable"></a><strong>SF.DefaultEnvironment.getmetatable</strong>&nbsp;(tbl)</dt>
<dd>
Same as Lua's getmetatable. Doesn't work on most internal metatables


<h3>Parameters:</h3>
<ul>
	
	<li>
	  <code><em>tbl</em></code>: 
	</li>
	
</ul>








</dd>




<dt><a name="SF.DefaultEnvironment.ipairs"></a><strong>SF.DefaultEnvironment.ipairs</strong>&nbsp;(tbl)</dt>
<dd>
Same as Lua's ipairs


<h3>Parameters:</h3>
<ul>
	
	<li>
	  <code><em>tbl</em></code>: 
	</li>
	
</ul>








</dd>




<dt><a name="SF.DefaultEnvironment.loadLibrary"></a><strong>SF.DefaultEnvironment.loadLibrary</strong>&nbsp;(name)</dt>
<dd>
Loads a library.


<h3>Parameters:</h3>
<ul>
	
	<li>
	  <code><em>name</em></code>: 
	</li>
	
</ul>








</dd>




<dt><a name="SF.DefaultEnvironment.next"></a><strong>SF.DefaultEnvironment.next</strong>&nbsp;(tbl)</dt>
<dd>
Same as Lua's next


<h3>Parameters:</h3>
<ul>
	
	<li>
	  <code><em>tbl</em></code>: 
	</li>
	
</ul>








</dd>




<dt><a name="SF.DefaultEnvironment.pairs"></a><strong>SF.DefaultEnvironment.pairs</strong>&nbsp;(tbl)</dt>
<dd>
Same as Lua's pairs


<h3>Parameters:</h3>
<ul>
	
	<li>
	  <code><em>tbl</em></code>: 
	</li>
	
</ul>








</dd>




<dt><a name="SF.DefaultEnvironment.print"></a><strong>SF.DefaultEnvironment.print</strong>&nbsp;(s)</dt>
<dd>
Prints a message to the owner's chat.


<h3>Parameters:</h3>
<ul>
	
	<li>
	  <code><em>s</em></code>: 
	</li>
	
</ul>








</dd>




<dt><a name="SF.DefaultEnvironment.setHook"></a><strong>SF.DefaultEnvironment.setHook</strong>&nbsp;(name, func)</dt>
<dd>
Sets a hook function


<h3>Parameters:</h3>
<ul>
	
	<li>
	  <code><em>name</em></code>: 
	</li>
	
	<li>
	  <code><em>func</em></code>: 
	</li>
	
</ul>








</dd>




<dt><a name="SF.DefaultEnvironment.setmetatable"></a><strong>SF.DefaultEnvironment.setmetatable</strong>&nbsp;(tbl, meta)</dt>
<dd>
Same as Lua's setmetatable. Doesn't work on most internal metatables


<h3>Parameters:</h3>
<ul>
	
	<li>
	  <code><em>tbl</em></code>: 
	</li>
	
	<li>
	  <code><em>meta</em></code>: 
	</li>
	
</ul>








</dd>




<dt><a name="SF.DefaultEnvironment.tonumber"></a><strong>SF.DefaultEnvironment.tonumber</strong>&nbsp;(obj)</dt>
<dd>
Same as Lua's tonumber


<h3>Parameters:</h3>
<ul>
	
	<li>
	  <code><em>obj</em></code>: 
	</li>
	
</ul>








</dd>




<dt><a name="SF.DefaultEnvironment.tostring"></a><strong>SF.DefaultEnvironment.tostring</strong>&nbsp;(obj)</dt>
<dd>
Same as Lua's tostring


<h3>Parameters:</h3>
<ul>
	
	<li>
	  <code><em>obj</em></code>: 
	</li>
	
</ul>








</dd>




<dt><a name="SF.DefaultEnvironment.type"></a><strong>SF.DefaultEnvironment.type</strong>&nbsp;(obj)</dt>
<dd>
Same as Lua's type


<h3>Parameters:</h3>
<ul>
	
	<li>
	  <code><em>obj</em></code>: 
	</li>
	
</ul>








</dd>


</dl>







</div> <!-- id="content" -->

</div> <!-- id="main" -->

<div id="about">
	<p><a href="http://validator.w3.org/check?uri=referer"><img src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0!" height="31" width="88" /></a></p>
</div> <!-- id="about" -->

</div> <!-- id="container" -->	
</body>
</html>
